package com.eling.elcms.travel.service;

import com.eling.elcms.travel.model.RoomRegister;
import com.eling.elcms.travel.model.TravelContract;
import com.eling.elcms.travel.model.view.SettlementsResult;

import java.util.Date;

public interface ISettlementsRule {
	
	/**
	 * 根据规则计算会员应抵扣/应发优惠卷/其他额度
	 * @param room 入住房间
	 * @param signUp 报名人员
	 * @return 应抵扣/应发优惠卷/其他额度
	 */
	SettlementsResult calculate(RoomRegister room, TravelContract contract,Date start,Date end);
	
}
